12. Exercise: JShell
Exercise: JShell
JShell Experimentation
Task Description:
For the first part of this exercise, try experimenting with JShell! Explore the /vars
command to learn about how type inference works with the var
keyword.
Task Feedback:
Good work! Jshell is pretty powerful and is a handy tool for exploring the Java language.
Load Jars into JShell
Task Description:
For the second part of this exercise, we will load a jar into JShell by using the --class-path
option when launching jshell. For this exercise we will use the jar included with the starter code.
Task Feedback:
Great job!